﻿<%@ Page Title="" Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="EncaminharCurriculo.aspx.cs" Inherits="Riomar_empresa_EncaminharCurriculo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

    <style type="text/css">
    #tabela 
    {
       font: 18px tahoma, arial;
    }
  
    input[type=text]
    {
        padding: 5px;
        font: 18px tahoma, arial;
    }
    </style>



    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">muda(candidato, '#0C5C7E');</script>

<h1>Encaminhar currículo</h1>
<table style="width:100%;" id="tabela">
    <tr>
        <td colspan="2">
            Para:<asp:HiddenField ID="hfCPF" runat="server" /><asp:HiddenField ID="hfCod" runat="server" />
        </td>
    </tr>
</table>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

<table style="width:100%">
    <tr>
        <td>
            <asp:TextBox ID="txtEmail" runat="server" Width="300px"></asp:TextBox>
        </td>
        <td align="right">
            <asp:ImageButton ID="btnEncaminharCurriculo" runat="server" 
                ImageUrl="../figuras/bEncamCurriculo.gif" 
                onclick="btnEncaminharCurriculo_Click" />
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
                <ProgressTemplate>
                    <table style="width:100%;" cellpadding="0">
                        <tr>
                            <td>
                                <img alt="..." src="../../tiny_red.gif" style="width: 10px; height: 10px" /></td>
                                <td>
                                    Aguarde, encaminhando o currículo...
                                </td>
                        </tr>
                    </table>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </td>
    </tr>
    <tr>
        <td align="left" colspan="2">
                    <asp:RequiredFieldValidator ID="RV1" runat="server" 
                ControlToValidate="txtEmail" Display="None" ErrorMessage="Informe o email"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="REV1" runat="server" 
                ControlToValidate="txtEmail" Display="None" ErrorMessage="Email inválido" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
            <asp:ValidationSummary ID="ValidationSummary1" runat="server" />

        </td>
    </tr>
    <tr>
        <td align="right" colspan="2">
            <asp:ImageButton ID="btnVoltar" runat="server" CausesValidation="false" 
                ImageUrl="../figuras/bVoltar.gif" onclick="btnVoltar_Click" /></td>
    </tr>
    </table>
</ContentTemplate>
</asp:UpdatePanel>    
</asp:Content>

